/*
Copyright (C) 2022-2024 Inspur Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/
package wsreg

import (
	"did-service/controller"

	"github.com/emicklei/go-restful"
)

func RegisterPresentationWebService(ws *restful.WebService, controller *controller.DidController) {
	ws.Route(ws.POST("/v1/presentation/apply").To(controller.ApplyPresentation))
	ws.Route(ws.GET("/v1/presentation/page").To(controller.PresentationList))
	ws.Route(ws.GET("/v1/presentation/detail/{presentationId}").To(controller.PresentationDetail))
}
